<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>background背景 | 你好,欢迎来到MyNote</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../lesson/css/20170727.html" />
    
    
    <link rel="prev" href="../../lesson/css/0726-1.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.3.2"
        data-chapter-title="background背景"
        data-filepath="lesson/css/0726-2.md"
        data-basepath="../.."
        data-revision="Thu Aug 31 2017 12:00:31 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="lesson/html/HTML.html">
            
                
                    <a href="../../lesson/html/HTML.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        一.HTML
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="lesson/html/20170718.html">
            
                
                    <a href="../../lesson/html/20170718.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        第一节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="lesson/html/0718-3.html">
            
                
                    <a href="../../lesson/html/0718-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.1.</b>
                        
                        a标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="lesson/html/0718-2.html">
            
                
                    <a href="../../lesson/html/0718-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.2.</b>
                        
                        注释标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="lesson/html/0718-1.html">
            
                
                    <a href="../../lesson/html/0718-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.3.</b>
                        
                        块级和行内元素
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="lesson/html/20170719.html">
            
                
                    <a href="../../lesson/html/20170719.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        第二节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="lesson/html/0719-3.html">
            
                
                    <a href="../../lesson/html/0719-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.1.</b>
                        
                        实体字符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="lesson/html/0719-4.html">
            
                
                    <a href="../../lesson/html/0719-4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.2.</b>
                        
                        文本格式化
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="lesson/html/0719-1.html">
            
                
                    <a href="../../lesson/html/0719-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.3.</b>
                        
                        audio音频标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="lesson/html/0719-2.html">
            
                
                    <a href="../../lesson/html/0719-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.4.</b>
                        
                        video音频标签
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="lesson/html/20170720.html">
            
                
                    <a href="../../lesson/html/20170720.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        第三节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="lesson/html/input.html">
            
                
                    <a href="../../lesson/html/input.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.1.</b>
                        
                        课后补充
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="lesson/html/0720-1.html">
            
                
                    <a href="../../lesson/html/0720-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.2.</b>
                        
                        HTML表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="lesson/html/0720-2.html">
            
                
                    <a href="../../lesson/html/0720-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.3.</b>
                        
                        form表单
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="lesson/html/20170721.html">
            
                
                    <a href="../../lesson/html/20170721.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        第四节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="lesson/html/0721-5.html">
            
                
                    <a href="../../lesson/html/0721-5.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.1.</b>
                        
                        icon
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="lesson/html/0721-2.html">
            
                
                    <a href="../../lesson/html/0721-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.2.</b>
                        
                        自定义列表
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="lesson/html/0721-3.html">
            
                
                    <a href="../../lesson/html/0721-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.3.</b>
                        
                        iframe内嵌框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="lesson/html/0721-4.html">
            
                
                    <a href="../../lesson/html/0721-4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.4.</b>
                        
                        H5的语义化标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="lesson/html/0721-1.html">
            
                
                    <a href="../../lesson/html/0721-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.5.</b>
                        
                        图片的热区hotmap
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="lesson/css/CSS.html">
            
                
                    <a href="../../lesson/css/CSS.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        二.CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="lesson/css/20170724.html">
            
                
                    <a href="../../lesson/css/20170724.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        第一节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="lesson/css/0724-1.html">
            
                
                    <a href="../../lesson/css/0724-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.1.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="lesson/css/0724-3.html">
            
                
                    <a href="../../lesson/css/0724-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.2.</b>
                        
                        ID选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="lesson/css/0724-4.html">
            
                
                    <a href="../../lesson/css/0724-4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.3.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="lesson/css/0724-5.html">
            
                
                    <a href="../../lesson/css/0724-5.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.4.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="lesson/css/扩展.html">
            
                
                    <a href="../../lesson/css/扩展.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.5.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="lesson/css/扩展2.html">
            
                
                    <a href="../../lesson/css/扩展2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.6.</b>
                        
                        伪元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="lesson/css/0724-2.html">
            
                
                    <a href="../../lesson/css/0724-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.7.</b>
                        
                        class类选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="lesson/css/20170725.html">
            
                
                    <a href="../../lesson/css/20170725.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        第二节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="lesson/css/0725-1.html">
            
                
                    <a href="../../lesson/css/0725-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.1.</b>
                        
                        字体样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="lesson/css/0725-2.html">
            
                
                    <a href="../../lesson/css/0725-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.2.</b>
                        
                        文本描述
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="lesson/css/0725-3.html">
            
                
                    <a href="../../lesson/css/0725-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.3.</b>
                        
                        文字阴影
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="lesson/css/0725-4.html">
            
                
                    <a href="../../lesson/css/0725-4.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.4.</b>
                        
                        字体嵌入
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="lesson/css/0725-5.html">
            
                
                    <a href="../../lesson/css/0725-5.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.5.</b>
                        
                        CSS颜色
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="lesson/css/20170726.html">
            
                
                    <a href="../../lesson/css/20170726.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        第三节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="lesson/css/0726-1.html">
            
                
                    <a href="../../lesson/css/0726-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.1.</b>
                        
                        border边框
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.3.2" data-path="lesson/css/0726-2.html">
            
                
                    <a href="../../lesson/css/0726-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.2.</b>
                        
                        background背景
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="lesson/css/20170727.html">
            
                
                    <a href="../../lesson/css/20170727.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        第四节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="lesson/css/0727-2.html">
            
                
                    <a href="../../lesson/css/0727-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.1.</b>
                        
                        文字溢出
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="lesson/css/0727-3.html">
            
                
                    <a href="../../lesson/css/0727-3.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.2.</b>
                        
                        word-break
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="lesson/css/0727-1.html">
            
                
                    <a href="../../lesson/css/0727-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.3.</b>
                        
                        文字对齐方式
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="lesson/css/20170728.html">
            
                
                    <a href="../../lesson/css/20170728.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        第五节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="lesson/css/0728-1.html">
            
                
                    <a href="../../lesson/css/0728-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.1.</b>
                        
                        定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.2" data-path="lesson/css/0728-2.html">
            
                
                    <a href="../../lesson/css/0728-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.2.</b>
                        
                        z-index
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="lesson/css/20170731.html">
            
                
                    <a href="../../lesson/css/20170731.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        第六节课
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="lesson/css/20170801.html">
            
                
                    <a href="../../lesson/css/20170801.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        第七节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.7.1" data-path="lesson/css/0801-2.html">
            
                
                    <a href="../../lesson/css/0801-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.1.</b>
                        
                        git安装使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7.2" data-path="lesson/css/0801-1.html">
            
                
                    <a href="../../lesson/css/0801-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.2.</b>
                        
                        SASS安装使用
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="lesson/css/20170802.html">
            
                
                    <a href="../../lesson/css/20170802.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        第八节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.8.1" data-path="lesson/css/0802-1.html">
            
                
                    <a href="../../lesson/css/0802-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.1.</b>
                        
                        css3 过渡（transition）
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8.2" data-path="lesson/css/0802-2.html">
            
                
                    <a href="../../lesson/css/0802-2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.2.</b>
                        
                        css3 变换（transform）
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="lesson/css/20170803.html">
            
                
                    <a href="../../lesson/css/20170803.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        第九节课
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="lesson/css/20170804.html">
            
                
                    <a href="../../lesson/css/20170804.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        第十节课
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="lesson/css/0804-1.html">
            
                
                    <a href="../../lesson/css/0804-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.1.</b>
                        
                        滤镜
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="lesson/media/media.html">
            
                
                    <a href="../../lesson/media/media.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        三.项目期间
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1" data-path="lesson/css/20170807.html">
            
                
                    <a href="../../lesson/css/20170807.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.</b>
                        
                        鲁班项目(第一天)
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="lesson/css/20170808.html">
            
                
                    <a href="../../lesson/css/20170808.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.1.</b>
                        
                        鲁班项目(第二天)
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="lesson/css/20170809.html">
            
                
                    <a href="../../lesson/css/20170809.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.2.</b>
                        
                        鲁班项目(第三天)
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="lesson/css/20170811.html">
            
                
                    <a href="../../lesson/css/20170811.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.1.3.</b>
                        
                        鲁班项目(第四天)
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="lesson/viewport/20170814.html">
            
                
                    <a href="../../lesson/viewport/20170814.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.</b>
                        
                        viewport
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="lesson/viewport/20170814-1.html">
            
                
                    <a href="../../lesson/viewport/20170814-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.2.1.</b>
                        
                        viewport特性
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="lesson/viewport/20170815.html">
            
                
                    <a href="../../lesson/viewport/20170815.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.</b>
                        
                        移动端项目
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.1" data-path="lesson/viewport/20170816.html">
            
                
                    <a href="../../lesson/viewport/20170816.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.1.</b>
                        
                        倒霉
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.1.1" data-path="lesson/viewport/0816-1.html">
            
                
                    <a href="../../lesson/viewport/0816-1.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.1.1.</b>
                        
                        css长度单位
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3.2" data-path="lesson/mobile-project/20170817project.html">
            
                
                    <a href="../../lesson/mobile-project/20170817project.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.2.</b>
                        
                        mobile项目入手
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3.3" data-path="lesson/mobile-project/20170818.html">
            
                
                    <a href="../../lesson/mobile-project/20170818.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.3.</b>
                        
                        记录
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3.4" data-path="lesson/viewport/20170821.html">
            
                
                    <a href="../../lesson/viewport/20170821.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.4.</b>
                        
                        项目中所遇的问题
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3.5" data-path="lesson/viewport/20170822.html">
            
                
                    <a href="../../lesson/viewport/20170822.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.5.</b>
                        
                        当日总结
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3.6" data-path="lesson/viewport/20170823.html">
            
                
                    <a href="../../lesson/viewport/20170823.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.6.</b>
                        
                        上交测试版
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.3.7" data-path="lesson/viewport/20170824.html">
            
                
                    <a href="../../lesson/viewport/20170824.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.3.7.</b>
                        
                        当日总结
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="lesson/css/20170830.html">
            
                
                    <a href="../../lesson/css/20170830.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.4.</b>
                        
                        接触框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="3.5" data-path="lesson/css/20170831.html">
            
                
                    <a href="../../lesson/css/20170831.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.5.</b>
                        
                        语法与规则 Rules
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >你好,欢迎来到MyNote</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h3 id="&#x80CC;&#x666F;&#xFF08;background&#xFF09;">&#x80CC;&#x666F;&#xFF08;background&#xFF09;</h3>
<blockquote>
<p>&#x8BED;&#x6CD5;&#xFF1A;</p>
<ul>
<li>CSS &#x5141;&#x8BB8;&#x5E94;&#x7528;&#x7EAF;&#x8272;&#x4F5C;&#x4E3A;&#x80CC;&#x666F;&#xFF0C;&#x4E5F;&#x5141;&#x8BB8;&#x4F7F;&#x7528;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x521B;&#x5EFA;&#x76F8;&#x5F53;&#x590D;&#x6742;&#x7684;&#x6548;&#x679C;&#x3002;</li>
</ul>
</blockquote>
<table>
<thead>
<tr>
<th style="text-align:center">&#x529F;&#x80FD;</th>
<th style="text-align:center">&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center">background-image</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x3002;&#x53EF;&#x4EE5;&#x662F;&#x771F;&#x5B9E;&#x56FE;&#x7247;&#x8DEF;&#x5F84;&#x6216;&#x4F7F;&#x7528;&#x6E10;&#x53D8;&#x521B;&#x5EFA;&#x7684;&#x201C;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x201D;</td>
</tr>
<tr>
<td style="text-align:center">background-position</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x4F4D;&#x7F6E;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-size</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x5C3A;&#x5BF8;&#x5927;&#x5C0F;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-repeat</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5982;&#x4F55;&#x94FA;&#x6392;&#x586B;&#x5145;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-attachment</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x662F;&#x968F;&#x5BF9;&#x8C61;&#x5185;&#x5BB9;&#x6EDA;&#x52A8;&#x8FD8;&#x662F;&#x56FA;&#x5B9A;&#x7684;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-origin</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x663E;&#x793A;&#x7684;&#x539F;&#x70B9;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-clip</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5411;&#x5916;&#x88C1;&#x526A;&#x7684;&#x533A;&#x57DF;&#x3002;</td>
</tr>
<tr>
<td style="text-align:center">background-color</td>
<td style="text-align:center">&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x989C;&#x8272;&#x3002;</td>
</tr>
</tbody>
</table>
<ul>
<li><p>&#x80CC;&#x666F;&#x8272;&#xFF08;background-color&#xFF09;   </p>
<ul>
<li>&#x53EF;&#x4EE5;&#x4F7F;&#x7528; background-color &#x5C5E;&#x6027;&#x4E3A;&#x5143;&#x7D20;&#x8BBE;&#x7F6E;&#x80CC;&#x666F;&#x8272;&#x3002;</li>
</ul>
</li>
<li><p>&#x80CC;&#x666F;&#x56FE;&#x50CF;(background-image)    </p>
<ul>
<li>&#x8981;&#x628A;&#x56FE;&#x50CF;&#x653E;&#x5165;&#x80CC;&#x666F;&#xFF0C;&#x9700;&#x8981;&#x4F7F;&#x7528; background-image &#x5C5E;&#x6027;&#x3002;background-image &#x5C5E;&#x6027;&#x7684;&#x9ED8;&#x8BA4;&#x503C;&#x662F; none&#xFF0C;&#x8868;&#x793A;&#x80CC;&#x666F;&#x4E0A;&#x6CA1;&#x6709;&#x653E;&#x7F6E;&#x4EFB;&#x4F55;&#x56FE;&#x50CF;&#x3002;</li>
</ul>
</li>
</ul>
<blockquote>
<ul>
<li>&#x7406;&#x8BBA;&#x4E0A;&#x8BB2;&#xFF0C;&#x751A;&#x81F3;&#x53EF;&#x4EE5;&#x5411; textareas &#x548C; select &#x7B49;&#x66FF;&#x6362;&#x5143;&#x7D20;&#x7684;&#x80CC;&#x666F;&#x5E94;&#x7528;&#x56FE;&#x50CF;&#xFF0C;&#x4E0D;&#x8FC7;&#x5E76;&#x4E0D;&#x662F;&#x6240;&#x6709;&#x7528;&#x6237;&#x4EE3;&#x7406;&#x90FD;&#x80FD;&#x5F88;&#x597D;&#x5730;&#x5904;&#x7406;&#x8FD9;&#x79CD;&#x60C5;&#x51B5;&#x3002;   </li>
<li>&#x53E6;&#x5916;&#x8FD8;&#x8981;&#x8865;&#x5145;&#x4E00;&#x70B9;&#xFF0C;background-image &#x4E5F;&#x4E0D;&#x80FD;&#x7EE7;&#x627F;&#x3002;&#x4E8B;&#x5B9E;&#x4E0A;&#xFF0C;&#x6240;&#x6709;&#x80CC;&#x666F;&#x5C5E;&#x6027;&#x90FD;&#x4E0D;&#x80FD;&#x7EE7;&#x627F;&#x3002;</li>
</ul>
</blockquote>
<ul>
<li><p>&#x80CC;&#x666F;&#x91CD;&#x590D;   (background-repeat)</p>
<ul>
<li>&#x5982;&#x679C;&#x9700;&#x8981;&#x5728;&#x9875;&#x9762;&#x4E0A;&#x5BF9;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x8FDB;&#x884C;&#x5E73;&#x94FA;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; background-repeat &#x5C5E;&#x6027;&#x3002;   </li>
<li>&#x5C5E;&#x6027;&#x503C; repeat &#x5BFC;&#x81F4;&#x56FE;&#x50CF;&#x5728;&#x6C34;&#x5E73;&#x5782;&#x76F4;&#x65B9;&#x5411;&#x4E0A;&#x90FD;&#x5E73;&#x94FA;&#xFF0C;&#x5C31;&#x50CF;&#x4EE5;&#x5F80;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x901A;&#x5E38;&#x505A;&#x6CD5;&#x4E00;&#x6837;&#x3002;repeat-x &#x548C; repeat-y &#x5206;&#x522B;&#x5BFC;&#x81F4;&#x56FE;&#x50CF;&#x53EA;&#x5728;&#x6C34;&#x5E73;&#x6216;&#x5782;&#x76F4;&#x65B9;&#x5411;&#x4E0A;&#x91CD;&#x590D;&#xFF0C;no-repeat &#x5219;&#x4E0D;&#x5141;&#x8BB8;&#x56FE;&#x50CF;&#x5728;&#x4EFB;&#x4F55;&#x65B9;&#x5411;&#x4E0A;&#x5E73;&#x94FA;&#x3002;</li>
</ul>
</li>
<li><p>&#x80CC;&#x666F;&#x5B9A;&#x4F4D;   (background-position)
&#x53EF;&#x4EE5;&#x5229;&#x7528; background-position &#x5C5E;&#x6027;&#x6539;&#x53D8;&#x56FE;&#x50CF;&#x5728;&#x80CC;&#x666F;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;&#x3002;</p>
<blockquote>
<p>&#x4E3A; background-position &#x5C5E;&#x6027;&#x63D0;&#x4F9B;&#x503C;&#x6709;&#x5F88;&#x591A;&#x65B9;&#x6CD5;&#x3002;&#x9996;&#x5148;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x4E00;&#x4E9B;&#x5173;&#x952E;&#x5B57;&#xFF1A;top&#x3001;bottom&#x3001;left&#x3001;right &#x548C; center&#x3002;&#x901A;&#x5E38;&#xFF0C;&#x8FD9;&#x4E9B;&#x5173;&#x952E;&#x5B57;&#x4F1A;&#x6210;&#x5BF9;&#x51FA;&#x73B0;&#xFF0C;&#x4E0D;&#x8FC7;&#x4E5F;&#x4E0D;&#x603B;&#x662F;&#x8FD9;&#x6837;&#x3002;&#x8FD8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x957F;&#x5EA6;&#x503C;&#xFF0C;&#x5982; 100px &#x6216; 5cm&#xFF0C;&#x6700;&#x540E;&#x4E5F;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x767E;&#x5206;&#x6570;&#x503C;&#x3002;&#x4E0D;&#x540C;&#x7C7B;&#x578B;&#x7684;&#x503C;&#x5BF9;&#x4E8E;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x653E;&#x7F6E;&#x7A0D;&#x6709;&#x5DEE;&#x5F02;&#x3002;</p>
</blockquote>
</li>
<li><p>&#x53D6;&#x503C;&#xFF1A;
|&#x503C;|&#x63CF;&#x8FF0;|
|:--|:--|
|repeat-x|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5728;&#x6A2A;&#x5411;&#x4E0A;&#x5E73;&#x94FA;|
|repeat-y|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5728;&#x7EB5;&#x5411;&#x4E0A;&#x5E73;&#x94FA;|
|repeat|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5728;&#x6A2A;&#x5411;&#x548C;&#x7EB5;&#x5411;&#x5E73;&#x94FA;|
|no-repeat|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x4E0D;&#x5E73;&#x94FA;|
|round|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x81EA;&#x52A8;&#x7F29;&#x653E;&#x76F4;&#x5230;&#x9002;&#x5E94;&#x4E14;&#x586B;&#x5145;&#x6EE1;&#x6574;&#x4E2A;&#x5BB9;&#x5668;&#x3002;&#xFF08;CSS3&#xFF09;|
|space|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x4EE5;&#x76F8;&#x540C;&#x7684;&#x95F4;&#x8DDD;&#x5E73;&#x94FA;&#x4E14;&#x586B;&#x5145;&#x6EE1;&#x6574;&#x4E2A;&#x5BB9;&#x5668;&#x6216;&#x67D0;&#x4E2A;&#x65B9;&#x5411;&#x3002;&#xFF08;CSS3&#xFF09;|</p>
</li>
</ul>
<ul>
<li>&#x5173;&#x952E;&#x5B57;   <ul>
<li>&#x56FE;&#x50CF;&#x653E;&#x7F6E;&#x5173;&#x952E;&#x5B57;&#x6700;&#x5BB9;&#x6613;&#x7406;&#x89E3;&#xFF0C;&#x5176;&#x4F5C;&#x7528;&#x5982;&#x5176;&#x540D;&#x79F0;&#x6240;&#x8868;&#x660E;&#x7684;&#x3002;&#x4F8B;&#x5982;&#xFF0C;top right &#x4F7F;&#x56FE;&#x50CF;&#x653E;&#x7F6E;&#x5728;&#x5143;&#x7D20;&#x5185;&#x8FB9;&#x8DDD;&#x533A;&#x7684;&#x53F3;&#x4E0A;&#x89D2;&#x3002;</li>
<li>&#x6839;&#x636E;&#x89C4;&#x8303;&#xFF0C;&#x4F4D;&#x7F6E;&#x5173;&#x952E;&#x5B57;&#x53EF;&#x4EE5;&#x6309;&#x4EFB;&#x4F55;&#x987A;&#x5E8F;&#x51FA;&#x73B0;&#xFF0C;&#x53EA;&#x8981;&#x4FDD;&#x8BC1;&#x4E0D;&#x8D85;&#x8FC7;&#x4E24;&#x4E2A;&#x5173;&#x952E;&#x5B57; - &#x4E00;&#x4E2A;&#x5BF9;&#x5E94;&#x6C34;&#x5E73;&#x65B9;&#x5411;&#xFF0C;&#x53E6;&#x4E00;&#x4E2A;&#x5BF9;&#x5E94;&#x5782;&#x76F4;&#x65B9;&#x5411;&#x3002;</li>
<li>&#x5982;&#x679C;&#x53EA;&#x51FA;&#x73B0;&#x4E00;&#x4E2A;&#x5173;&#x952E;&#x5B57;&#xFF0C;&#x5219;&#x8BA4;&#x4E3A;&#x53E6;&#x4E00;&#x4E2A;&#x5173;&#x952E;&#x5B57;&#x662F; center&#x3002;</li>
</ul>
</li>
</ul>
<p>&#x4E0B;&#x9762;&#x662F;&#x7B49;&#x4EF7;&#x7684;&#x4F4D;&#x7F6E;&#x5173;&#x952E;&#x5B57;&#xFF1A;
|&#x5355;&#x4E00;&#x5173;&#x952E;&#x5B57; |    &#x7B49;&#x4EF7;&#x7684;&#x5173;&#x952E;&#x5B57;|
|:--:|:--:|
|center |    center center|
|top     |top center &#x6216; center top|
|bottom |    bottom center &#x6216; center bottom|
|right     |right center &#x6216; center right|
|left     |left center &#x6216; center left|</p>
<h3 id="backgroundattachment">- <strong>background-attachment:</strong></h3>
<blockquote>
<p>&#x8BBE;&#x7F6E;&#x6216;&#x68C0;&#x7D22;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x662F;&#x968F;&#x5BF9;&#x8C61;&#x5185;&#x5BB9;&#x6EDA;&#x52A8;&#x8FD8;&#x662F;&#x56FA;&#x5B9A;&#x7684;&#x3002;</p>
</blockquote>
<p><strong>&#x53D6;&#x503C;&#xFF1A;</strong>
|&#x503C;|&#x63CF;&#x8FF0;|
|:--|:--|
|fixed|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x76F8;&#x5BF9;&#x4E8E;&#x7A97;&#x4F53;&#x56FA;&#x5B9A;&#x3002;|
|scroll|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x76F8;&#x5BF9;&#x4E8E;&#x5143;&#x7D20;&#x56FA;&#x5B9A;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x5F53;&#x5143;&#x7D20;&#x5185;&#x5BB9;&#x6EDA;&#x52A8;&#x65F6;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x4E0D;&#x4F1A;&#x8DDF;&#x7740;&#x6EDA;&#x52A8;&#xFF0C;&#x56E0;&#x4E3A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x603B;&#x662F;&#x8981;&#x8DDF;&#x7740;&#x5143;&#x7D20;&#x672C;&#x8EAB;&#x3002;&#x4F46;&#x4F1A;&#x968F;&#x5143;&#x7D20;&#x7684;&#x7956;&#x5148;&#x5143;&#x7D20;&#x6216;&#x7A97;&#x4F53;&#x4E00;&#x8D77;&#x6EDA;&#x52A8;&#x3002;|
|local|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x76F8;&#x5BF9;&#x4E8E;&#x5143;&#x7D20;&#x5185;&#x5BB9;&#x56FA;&#x5B9A;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;&#x8BF4;&#x5F53;&#x5143;&#x7D20;&#x968F;&#x5143;&#x7D20;&#x6EDA;&#x52A8;&#x65F6;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x4E5F;&#x4F1A;&#x8DDF;&#x7740;&#x6EDA;&#x52A8;&#xFF0C;&#x56E0;&#x4E3A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x603B;&#x662F;&#x8981;&#x8DDF;&#x7740;&#x5185;&#x5BB9;&#x3002;&#xFF08;CSS3&#xFF09;|</p>
<h3 id="backgroundorigin">- <strong>background-origin:</strong></h3>
<blockquote>
<p>&#x8BBE;&#x7F6E;&#x6216;&#x68C0;&#x7D22;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x8BA1;&#x7B97;</p>
</blockquote>
<pre><code>&#x517C;&#x5BB9;&#x6027;&#xFF1A;Internet Explorer 9+&#x3001;Firefox&#x3001;Chrome&#x3001;Safari &#x4EE5;&#x53CA; Opera &#x652F;&#x6301;&#x65B0;&#x7684;&#x80CC;&#x666F;&#x5C5E;&#x6027;&#x3002;
</code></pre><p><strong>&#x53D6;&#x503C;&#xFF1A;</strong>
|&#x503C;|&#x63CF;&#x8FF0;|
|:--|:--|
|padding-box|&#x4ECE;padding&#x533A;&#x57DF;&#xFF08;&#x542B;padding&#xFF09;&#x5F00;&#x59CB;&#x663E;&#x793A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x3002;|
|border-box|&#x4ECE;border&#x533A;&#x57DF;&#xFF08;&#x542B;border&#xFF09;&#x5F00;&#x59CB;&#x663E;&#x793A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x3002;|
|content-box|&#x4ECE;content&#x533A;&#x57DF;&#x5F00;&#x59CB;&#x663E;&#x793A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x3002;|</p>
<h3 id="backgroundclip&#xFF1A;">- <strong>background-clip&#xFF1A;</strong></h3>
<blockquote>
<p>&#x6307;&#x5B9A;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5411;&#x5916;&#x88C1;&#x526A;&#x7684;&#x533A;&#x57DF;</p>
</blockquote>
<p><strong>&#x53D6;&#x503C;&#xFF1A;</strong>
|&#x503C;|&#x63CF;&#x8FF0;|
|:--|:--|
|padding-box|&#x4ECE;padding&#x533A;&#x57DF;&#xFF08;&#x4E0D;&#x542B;padding&#xFF09;&#x5F00;&#x59CB;&#x5411;&#x5916;&#x88C1;&#x526A;&#x80CC;&#x666F;&#x3002;|
|border-box|&#x4ECE;border&#x533A;&#x57DF;&#xFF08;&#x4E0D;&#x542B;border&#xFF09;&#x5F00;&#x59CB;&#x5411;&#x5916;&#x88C1;&#x526A;&#x80CC;&#x666F;&#x3002;|
|content-box|&#x4ECE;content&#x533A;&#x57DF;&#x5F00;&#x59CB;&#x5411;&#x5916;&#x88C1;&#x526A;&#x80CC;&#x666F;&#x3002;|
|text|&#x4ECE;&#x524D;&#x666F;&#x5185;&#x5BB9;&#x7684;&#x5F62;&#x72B6;&#xFF08;&#x6BD4;&#x5982;&#x6587;&#x5B57;&#xFF09;&#x4F5C;&#x4E3A;&#x88C1;&#x526A;&#x533A;&#x57DF;&#x5411;&#x5916;&#x88C1;&#x526A;&#xFF0C;&#x5982;&#x6B64;&#x5373;&#x53EF;&#x5B9E;&#x73B0;&#x4F7F;&#x7528;&#x80CC;&#x666F;&#x4F5C;&#x4E3A;&#x586B;&#x5145;&#x8272;&#x4E4B;&#x7C7B;&#x7684;&#x906E;&#x7F69;&#x6548;&#x679C;&#x3002;|</p>
<h3 id="backgroundsize">- <strong>background-size:</strong></h3>
<blockquote>
<p>&#x68C0;&#x7D22;&#x6216;&#x8BBE;&#x7F6E;&#x5BF9;&#x8C61;&#x7684;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x5C3A;&#x5BF8;&#x5927;&#x5C0F;&#x3002;<br>    &#x517C;&#x5BB9;&#x6027;&#xFF1A;Internet Explorer 9+&#x3001;Firefox&#x3001;Chrome&#x3001;Safari &#x4EE5;&#x53CA; Opera &#x652F;&#x6301;&#x65B0;&#x7684;&#x80CC;&#x666F;&#x5C5E;&#x6027;&#x3002;</p>
<ol>
<li>&#x8BE5;&#x5C5E;&#x6027;&#x63D0;&#x4F9B;2&#x4E2A;&#x53C2;&#x6570;&#x503C;(&#x7279;&#x6027;&#x503C;cover&#x548C;contain&#x9664;&#x5916;)&#x3002;</li>
<li>&#x5982;&#x679C;&#x63D0;&#x4F9B;&#x4E24;&#x4E2A;&#xFF0C;&#x7B2C;&#x4E00;&#x4E2A;&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x5BBD;&#x5EA6;&#xFF0C;&#x7B2C;&#x4E8C;&#x4E2A;&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x9AD8;&#x5EA6;&#x3002;</li>
<li>&#x5982;&#x679C;&#x53EA;&#x63D0;&#x4F9B;&#x4E00;&#x4E2A;&#xFF0C;&#x8BE5;&#x503C;&#x5C06;&#x7528;&#x4E8E;&#x5B9A;&#x4E49;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x5BBD;&#x5EA6;&#xFF0C;&#x7B2C;2&#x4E2A;&#x503C;&#x9ED8;&#x8BA4;&#x4E3A;auto&#xFF0C;&#x5373;&#x9AD8;&#x5EA6;&#x4E3A;auto&#xFF0C;&#x6B64;&#x65F6;&#x80CC;&#x666F;&#x56FE;&#x4EE5;&#x63D0;&#x4F9B;&#x7684;&#x5BBD;&#x5EA6;&#x4F5C;&#x4E3A;&#x53C2;&#x7167;&#x6765;&#x8FDB;&#x884C;&#x7B49;&#x6BD4;&#x7F29;&#x653E;</li>
</ol>
</blockquote>
<p>&#x53D6;&#x503C;&#xFF1A;
|&#x503C;|&#x63CF;&#x8FF0;|
|:--|:--|
|<code>&lt;length&gt;</code>|&#x7528;&#x957F;&#x5EA6;&#x503C;&#x6307;&#x5B9A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5927;&#x5C0F;&#x3002;&#x4E0D;&#x5141;&#x8BB8;&#x8D1F;&#x503C;&#x3002;|
|<code>&lt;percentage&gt;</code>|&#x7528;&#x767E;&#x5206;&#x6BD4;&#x6307;&#x5B9A;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x5927;&#x5C0F;&#x3002;&#x4E0D;&#x5141;&#x8BB8;&#x8D1F;&#x503C;&#x3002;|
|auto|&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7684;&#x771F;&#x5B9E;&#x5927;&#x5C0F;&#x3002;|
|cover|&#x5C06;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7B49;&#x6BD4;&#x7F29;&#x653E;&#x5230;&#x5B8C;&#x5168;&#x8986;&#x76D6;&#x5BB9;&#x5668;&#xFF0C;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x6709;&#x53EF;&#x80FD;&#x8D85;&#x51FA;&#x5BB9;&#x5668;&#x3002;|
|contain|&#x5C06;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x7B49;&#x6BD4;&#x7F29;&#x653E;&#x5230;&#x5BBD;&#x5EA6;&#x6216;&#x9AD8;&#x5EA6;&#x4E0E;&#x5BB9;&#x5668;&#x7684;&#x5BBD;&#x5EA6;&#x6216;&#x9AD8;&#x5EA6;&#x76F8;&#x7B49;&#xFF0C;&#x80CC;&#x666F;&#x56FE;&#x50CF;&#x59CB;&#x7EC8;&#x88AB;&#x5305;&#x542B;&#x5728;&#x5BB9;&#x5668;&#x5185;&#x3002;|</p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../lesson/css/0726-1.html" class="navigation navigation-prev " aria-label="Previous page: border边框"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../lesson/css/20170727.html" class="navigation navigation-next " aria-label="Next page: 第四节课"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters-small":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
